Although Java is a multi-threaded environment, the method calls that map a QuickTime function to a Java method do not provide any implicit synchronization support. If you share any QuickTime object between threads, you are responsible for dealing with any synchronization issues that may arise. The Java language provides easy services to let you do this by means of the following syntax as well as synchronized method calls:
synchronize (aJavaObject) { /*synchronized block of code*/ }
| Previous | Chapter Top | Next |